include the match_type in the response

and don't close the socket if it's not http 1.0