fixed InvalidArgumentException namespace
added a base http exception and an Invalid Protocol one.