Updates docstrings.
Rewrite to use process url instead of building it ourselves from the host and the pid.
Updated documentation.