http-socket: Fix reentrancy

Some socket-specific variables were defined locally as static in
parse_header_byte(), which prevented reentrancy to work correctly with several
sockets. This change moves these socket-specific variables to the http_socket
structure.

Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>