Coding standards cleanup, added exception for localhost not requiring a port.