began work on implimenting long polling
added long poll function to the js
added aborts and no timeouts to the longpoll function
call the long poll listnener function in a new go routine
fix for authentication on long poll
only send hearbeat packets to websockets
update the headers that are sent on a long poll
move header into different function and call json.Marshal on the message
updated the js to start with long poll then upgrade to socket if it can connect
limit the ajax calls to MAXRETIRES to stop infinite request loop from happening when service interution exists
reduced the timeout on polling to 30s