Don't hard code ports

First go at a fix for https://github.com/mmalecki/hock/issues/2
using true equality operator for options/function
version 0.2.1