C++ server code

Latest master merged in. We should discuss the layout of the code.
Other than the syntax (which may not even be that different), not that I can think of... I did notice that SLRE seems to behave a little differently than Perl regexes, which are pretty much the standard for computers. I tested our regex on an online tester thing, and compared it to what SLRE did, and found some discrepancies (although I don't remember what they were).