add httponly and secure flags for cookies created by socketio
Merge pull request #238 from mistio/cookie_fixes

add httponly and secure flags for cookies created by socketio