A chat library using websockets and golang