Refactored ProxyConfiguration to only return information if the hostname is set.
Updated JavaDoc