Implemented generic_chatserver as a way to run multiple chat processes

When used in conjunction with load balancing this allows us to use multiple
cores on the machine improving performance by doing parallel parsing of
JSON and HTTP headers.