Add support for unix and http protocol