Integrates http and websocket packages