Added monolog, more client work
fixed socket reconnecting, added HTML template, next up rachet.