websocket: Fix a return value for parse failures

Fix return value for web_socket_util_parse_req_line() so that
it can return negative values on parse failures.