Core: new -p flag to specity TCP port

Signed-off-by: Eduardo Silva <edsiper@gmail.com>