Added more db configuration options

Added db configuration options for socket options