Use a dummy config to validate the request.
Remove the wml_reply and request. Replace it with config. (They were used for the payload data, but now, the engine automatically computes.
Add a function to asynchronously send error.
Encapsulate the socket inside a pointer, so we don't need to maintain a connexion class to be center of all communications.
Free function (should be use as a callback) helping to close a socket on error.
Use this action dispatcher to dispatch incoming request on the good action. This class has not the responsabilité of checking the request.
Use the action_dispatcher facility instead of the protocol method, idem for close_on_error.
Remove the environment and the request_info. They are replaced by the action_dispatcher.
Remove all useless stuff in the protocol class. Most of things moved in the dispatcher or in dedicated files.
Merge branch 'asio_umcd' of https://github.com/wesnoth/wesnoth-old into asio_umcd