added the possibility to use http interface without a port