C++ server code

Latest master merged in. We should discuss the layout of the code.
Rubular should be fine. I had been using https://www.regex101.com/ . So long as Ruby uses Perl regex syntax, which is what SLRE seems to use, using Rubular should be fine.