fixing SOQL
logging socket disconnects
fixing previous fix in SOQL. doh!
-added some validation for data
-made URL dynamic
-moved date range to variable
-logging on socket reconnect
-commented out console.log() debugging
-changed data set size down to 1500 records
-added semicolon