Fixed receiving http request from client