[REVIEW] In case of WebApplicationException and a null message calculate message as <status> <reason phrase> (if possible)

Also add special handling for 405 Method not allowed