Generate the map server protocol

Sigh, map server will have no smart filters yet
Use the generated char server protocol in the map server
Remove vomit
Compatibility with libc++