testing: add bind parameter to the NewServer function

This parameter will be used to specify the address where the server will
start to listen.

Closes #83.