fix #7. Make it possible to pass an http client
add Ping() and AuthenticateDatabaseUser()
support an optional time precision argument in Query()