This avoids the absurdity of the combination of arguments that is read_port(domain="sync", synchronous=True). Fixes #116.
The coercion is carefully chosen to accept (other than normal ints) instances of e.g. np.int64, but reject instances of e.g. float. See https://stackoverflow.com/a/48940855/254415 for details. Fixes #93.