http-socket: Fix behavior with simultaneous sockets

Some socket-specific variables were defined locally as static in
parse_header_byte(), which prevented the http-socket app from working correctly
with several sockets used simultaneously. This change moves these
socket-specific variables to the http_socket structure.

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