Updates to support Arduino 1+ networking, pgmspace.h compatibility

Updates to support Arduino 1+ networking, pgmspace.h compatibility
Issues:
#518