Make host construtor param optional (addresses #7)

adjust ban header handling

Add error-handling

Add host assertion

Throw exception if no host is configured
Merge pull request #14 from ddeboer/host-param

Make host constructor param optional (addresses #7)