fix: some minor improvements

- gets target hostname from command line argument
- sets 'host'-header to target hostname
- catch exception in case received data length is not multiple of 16. This
  happens when data is not correctly padded (for example unencrypted data).