http_request_get_method returns and HTTPMethod enum value.
tcp_connection_sendfile now knows only about file descriptor, the stat stuff was moved into http_response_writer_sendfile.
Test tcp_connection_sendfile.