support rerouting sockets
fix issue #101 cookieParser breaks when a page reloads

Conflicts:
	lib/index.coffee