Added HTTP socket handler and related messaging