Added timeout at http connection because htp.get doesnt have a timeout. Also changed raw checking of host and protocol with net/url.Url which has everything i needed