Revised process_url to be more module, also to accept a parse_url array and return the modified version (also, the uri key is replaced with path). Added process_host and process_path methods.