REST TCP port configurable

add ability to change REST port