changes errors handling
implements net.httpclient.* (in progress)