Bugfix for port argument in http module