Create run dir before trying to access it
New Perl setup
Support IPv6 addresses

Fixes gh-1. Thanks to Nagilum.