add hashMap and socket in url.cxx