Fixing server addr and small bug
Adding port selection and / path support