Add getHostName
Add ability to send auth as params