Fixed issue with port numbers not being parsed properly

Signed-off-by: Ozan Turgut <ozanturgut@gmail.com>