Fix port and host detection
Fix relative path names for rackup config