Added possibility to specify host and port

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>