possible fix for broken inet_pton #413

* added check, if php was compiled without --disable-ipv6 option
* moved function in method to own method with inet_pton-call

references to #413
oh, jep, this was for debugging :)