Added extra configuration options.

Added URI configuration option, host name and port configuration
options.