Removed port setting (fixes #9) Throw errors when weird/faulty matrix url (work on #10) Added neturl for url parsing