jsonp: send 'error' packet when parsing error
socket: add some comment
jshint