Added bind command, fixed port validation