exception Invalid_code of int
exception Invalid_status of status
+exception Malformed_URL of string
exception Malformed_query of string
exception Malformed_query_part of string * string
exception Unsupported_method of string
class type message = object
- method version: version
+ method version: version option
method setVersion: version -> unit
method body: string