use parse_url on server specs, support IPv6 literals
update config with more robust server spec format
Merge pull request #60 from thwarted/more-robust-server-specification

More robust server specification