Added IPv6 support and a simple auth

- Added IPv6 support.
- Added a trivial authentication (user and pwd are const).
Options updated also.