Changed socket address function interface.
Added http server host address.