Add pacparser_setmyip_from_host function

This is my suggested solution to issue #25.
Manu, I know you have expressed some reservations via email, let's please discuss here what your current specific proposal is and get this resolved.