Added QueryOptions, SocketOptions and PoolingOptions to config