added support for "url" option to server