Create lwpwrap.pl

Wrap some common functionality of LWP, and common interface to use those.