js experiments: scoping
implement relative URLs; no tests yet (:()

This will be very useful for making a relative websocket
the only needed to maske this work for that is to change the protocol to websocket...
Use URL() to simplify the code and to construct websockethref()