Moved client_socket and buffer into request_t - stack is used better when calling functions + free is called only once on a single request structure when closing client connection.
parse_request function made void.