client: do not return invalid endpoint for tcp:// scheme

Fix #90.