Fixed bug in http request packet