vcl: add support for app socket api