Fix a bug in the parsing of kafka broker port

Fixes GH-1