Connection timeout

* merge of commit for createRequestSignature() datacenter fix
* Connection timeout of 10 seconds to avoid keeping these open forever in case of a network issue
* fixed typo on "deletAction"
* escapedb() function to escape arguments in a datastore query
* Removed trailing whitespace