added http server so client can connect via http protocol