Mikko Koppanen added to AUTHORS file

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
tests/term added to .gitignore

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Hostname syntax is validated before resolving it

Fix for issue #120

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Missing include added

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>