Some methods were refactored.

	modified:   src/main/groovy/glue/core/net/connection/RestConnection.groovy