Changed regex for url checking, so that you can also define a non-standard port