feat: Added possibility to set hostname and port