Fixed bug. It is not possible to connect to a http server