allow specifying bind ip and port

We should be able to specify a bind IP and bind port for the api service

Change-Id: I62caf397995fbcf3a202992b353c05cc027d07b6