Fixed socksjs flask example to correct import errors, some syntax errors and misconfigured routes.

Signed-off-by: Kevin Stone <kevinastone@gmail.com>
Corrected mistaken socket.io code to use SockJS for tornado and client javascript.

Signed-off-by: Kevin Stone <kevinastone@gmail.com>