UB, rename, ++minor 

- Fixed code in port_valid wrt undefined behavior in left shift of signed integer
- Renamed port_valid to valid_port
- Minor version updated