This mimics the behavior of LocalGlue for the other codecs, which is a funcationality that the python codec seems to be lacking. In some quick tests it is many times faster than running the python with sockets (duh). From the user perspective functions nearly identically to the network based RLGlue interface, only difference is that the agent and environment are passed into the constructor.