added more constructors for v4

I needed a bit more flexibility for IPv4 creation, so I created two new constructors. (I'll be doing the same for v6.)

I've created a v4 network representation as well (v4 host, v4 netmask, and overriding "in" to test whether an address is within a network) but it's probably best as a separate package for now.