fix argument handling

thanks @bcoe
use options instead of port
0.6.3