Added config option: socketio.server.heartbeat-interval;
Refined heartbeat handler and timeout.