fix for null server URL
Merge pull request #44 from adennie/fix-server-url-bug

fix for null server URL