tcp port is uint16_t
make ptr::is_compat<> static, to fix obscure compilation errs
Merge pull request #53 from chipdude/master

minor tweaks: ptr<>, parse_host_port
fix usage of references on functions to avoid special case for void(*)()
throw informative exception on bad port number
fix logfile configuration